package com.py.warehouse.service;

import com.py.warehouse.domain.BsWarehouse;
import com.py.warehouse.domain.Product;
import com.py.warehouse.domain.WhInventory;

import java.util.List;

/**
 * 仓库列表Service接口
 * 
 * @author ruoyi
 * @date 2024-11-25
 */
public interface WhInventoryService
{
    /**
     * 查找库位里面的商品数量
     * @param locationCode
     * @return
     */
    Integer selectWhInventoryByWarehouseCode(String locationCode);

    /**
     * 查找库存商品
     * @param warehouseCode
     * @return
     */
    List<Product> selectProductByWarehouseCode(String warehouseCode, String productName, Integer productUnit);

    Integer selectInventory(WhInventory whInventory);
}
